package ru.hh.team02.chat.messaging;


public class Message {
    private final String text;
    private final boolean personal;

    public String getText() {
        return text;
    }
    
    public boolean isPersonal() {
        return personal;
    }

    /**
     * Create a message.
     * 
     * @param text
     *            Message text
     */
    public Message(String text, boolean personal) {
        this.text = text;
        this.personal = personal;
    }

}
